import { get, post } from './base'

export function getDXcode(data) {
  return post('v1/accessor/request-sms-code', data)
}

export function register(data) {
  return post('v1/accessor/register', data)
}

export function requestIP(params) {
  return get('http://pv.sohu.com/cityjson', params)
}
